package config

type Mysql struct {
	UserName    string `yaml:"user_name" json:"user_name" mapstructure:"user_name"`
	Password    string `yaml:"password" json:"password" mapstructure:"password"`
	Host        string `yaml:"host" json:"host" mapstructure:"host"`
	Port        string `yaml:"port" json:"port" mapstructure:"port"`
	Database    string `yaml:"database" json:"database" mapstructure:"database"`
	TablePrefix string `yaml:"table_prefix" json:"table_prefix" mapstructure:"table_prefix"`
	TimeZone    string `yaml:"time_zone" json:"time_zone" mapstructure:"time_zone"`
	MaxIdleConn int    `yaml:"max_idle_conn" json:"max_idle_conn" mapstructure:"max_idle_conn"`
	MaxOpenConn int    `yaml:"max_open_conn" json:"max_open_conn" mapstructure:"max_open_conn"`
}
